package com.citywithincity.test.utils;

import java.util.List;
import java.util.Map;

public class ApiResult {
	Map<String, Object> content;
	public ApiResult(Map<String, Object> content){
		this.content = content;
	}
	
	@SuppressWarnings("unchecked")
	public List<Map<String, Object>> toList(){
		return (List<Map<String, Object>>) content.get("result");
	}
}
